package com.lbj.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbj.mall.common.utils.PageUtils;
import com.lbj.mall.product.entity.SkuInfoEntity;
import com.lbj.mall.product.entity.vo.SkuItemVo;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author libingjun
 * @email 617416791@qq.com
 * @date 2022-03-27 10:44:55
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCondition(Map<String, Object> params);

    List<SkuInfoEntity> queryAllSkuBySpuId(Long spuId);

    SkuItemVo querySkuItem(Long skuId) throws Exception;
}

